﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C1B RID: 3099
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MuseumRandomEventQueryCsReq : IMessage<MuseumRandomEventQueryCsReq>, IMessage, IEquatable<MuseumRandomEventQueryCsReq>, IDeepCloneable<MuseumRandomEventQueryCsReq>, IBufferMessage
	{
		// Token: 0x17002716 RID: 10006
		// (get) Token: 0x06008A9B RID: 35483 RVA: 0x00171088 File Offset: 0x0016F288
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MuseumRandomEventQueryCsReq> Parser
		{
			get
			{
				return MuseumRandomEventQueryCsReq._parser;
			}
		}

		// Token: 0x17002717 RID: 10007
		// (get) Token: 0x06008A9C RID: 35484 RVA: 0x0017108F File Offset: 0x0016F28F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MuseumRandomEventQueryCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002718 RID: 10008
		// (get) Token: 0x06008A9D RID: 35485 RVA: 0x001710A1 File Offset: 0x0016F2A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MuseumRandomEventQueryCsReq.Descriptor;
			}
		}

		// Token: 0x06008A9E RID: 35486 RVA: 0x001710A8 File Offset: 0x0016F2A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumRandomEventQueryCsReq()
		{
		}

		// Token: 0x06008A9F RID: 35487 RVA: 0x001710B0 File Offset: 0x0016F2B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumRandomEventQueryCsReq(MuseumRandomEventQueryCsReq other) : this()
		{
			this.pIPLANEBDHB_ = other.pIPLANEBDHB_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008AA0 RID: 35488 RVA: 0x001710D5 File Offset: 0x0016F2D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumRandomEventQueryCsReq Clone()
		{
			return new MuseumRandomEventQueryCsReq(this);
		}

		// Token: 0x17002719 RID: 10009
		// (get) Token: 0x06008AA1 RID: 35489 RVA: 0x001710DD File Offset: 0x0016F2DD
		// (set) Token: 0x06008AA2 RID: 35490 RVA: 0x001710E5 File Offset: 0x0016F2E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int PIPLANEBDHB
		{
			get
			{
				return this.pIPLANEBDHB_;
			}
			set
			{
				this.pIPLANEBDHB_ = value;
			}
		}

		// Token: 0x06008AA3 RID: 35491 RVA: 0x001710EE File Offset: 0x0016F2EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MuseumRandomEventQueryCsReq);
		}

		// Token: 0x06008AA4 RID: 35492 RVA: 0x001710FC File Offset: 0x0016F2FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MuseumRandomEventQueryCsReq other)
		{
			return other != null && (other == this || (this.PIPLANEBDHB == other.PIPLANEBDHB && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008AA5 RID: 35493 RVA: 0x0017112C File Offset: 0x0016F32C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PIPLANEBDHB != 0)
			{
				num ^= this.PIPLANEBDHB.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008AA6 RID: 35494 RVA: 0x0017116B File Offset: 0x0016F36B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008AA7 RID: 35495 RVA: 0x00171173 File Offset: 0x0016F373
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008AA8 RID: 35496 RVA: 0x0017117C File Offset: 0x0016F37C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PIPLANEBDHB != 0)
			{
				output.WriteRawTag(64);
				output.WriteInt32(this.PIPLANEBDHB);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008AA9 RID: 35497 RVA: 0x001711B0 File Offset: 0x0016F3B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PIPLANEBDHB != 0)
			{
				num += 1 + CodedOutputStream.ComputeInt32Size(this.PIPLANEBDHB);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008AAA RID: 35498 RVA: 0x001711EE File Offset: 0x0016F3EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MuseumRandomEventQueryCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PIPLANEBDHB != 0)
			{
				this.PIPLANEBDHB = other.PIPLANEBDHB;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008AAB RID: 35499 RVA: 0x0017121F File Offset: 0x0016F41F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008AAC RID: 35500 RVA: 0x00171228 File Offset: 0x0016F428
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.PIPLANEBDHB = input.ReadInt32();
				}
			}
		}

		// Token: 0x04003500 RID: 13568
		private static readonly MessageParser<MuseumRandomEventQueryCsReq> _parser = new MessageParser<MuseumRandomEventQueryCsReq>(() => new MuseumRandomEventQueryCsReq());

		// Token: 0x04003501 RID: 13569
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003502 RID: 13570
		public const int PIPLANEBDHBFieldNumber = 8;

		// Token: 0x04003503 RID: 13571
		private int pIPLANEBDHB_;
	}
}
